<?php
class xl_product_category{
    function read_list(){
        global $dbh;
        $sql='SELECT * FROM product_categories';
        $sth=$dbh->prepare($sql);
        $sth->execute();
        return $sth->fetchAll();
    }
}